<?php
namespace  app\index\model;
use think\Db;
use think\Model;
Class Login_model extends Model{
    function __construct($data = [])
    {
        parent::__construct($data);
    }
   function  user_select($username = '')
   {
      $user=Db::name('user')->where('username',$username)->find();
      return $user;
   }


}